package com.example.makerspace.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.makerspace.mapper.MybatisListHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_exam_question", autoResultMap = true)
public class ExamQuestionDO extends BaseDO{
    private Integer examId;
    private String question;
    private Integer questionNum;
    @TableField(typeHandler = MybatisListHandler.class)
    private List<String> options;
    private String answer;
}
